<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<ul class="nav nav-list">
	<s:iterator value="rootCatalogs" var="catalog">
		<s:set name="scenes" value="getSubScenes(#catalog)" />
		<s:if test="#scenes.size > 0">
			<li class="nav-header">${catalog.title}</li>
			<s:iterator value="scenes" var="scene">
				<s:url value="%{#scene.url}" id="url" />
				<li <s:if test="isCurrentScene(#scene)">class="active"</s:if>><a href="${url}">${scene.title}</a></li>
			</s:iterator>
		</s:if>
	</s:iterator>
	<s:if test="rootScenes.size > 0">
		<li class="nav-header">其他</li>
		<s:iterator value="rootScenes" var="scene">
			<s:url value="%{#scene.url}" id="url" />
			<li <s:if test="isCurrentScene(#scene)">class="active"</s:if>><a href="${url}">${scene.title}</a></li>
		</s:iterator>
	</s:if>
</ul>